﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BackLib.Networking
{
    public class ITCPUser : ITCPClient
    {
        public delegate void ConnectionStatusChangedHandler(bool hosting, bool connected);
        public event ConnectionStatusChangedHandler ConnectionStatusChanged;

        public TCPHandling Handler = new TCPHandling();

        public void ConnectionChanged(bool hosting, bool connected)
        {
            ConnectionStatusChanged(hosting, connected);
        }

        #region ITCPClient Members

        public void SendData(byte[] Buffer)
        {
        }

        public void ReceiveData()
        {
        }

        #endregion
    }
}
